package com.rightsidetech.system.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * sys_system_param
 * @author 
 */
@Data
public class SystemParamReq implements Serializable {

    @ApiModelProperty("id")
    @Min(value = 0,message = "id不可为负数")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty("参数值")
    @NotBlank(message = "参数值不能为空")
    private String paramValue;

    @ApiModelProperty("参数名称")
    @NotBlank(message = "参数名称不能为空")
    private String paramDescribe;

    @ApiModelProperty("参数详细说明")
    @NotBlank(message = "参数详细说明不能为空")
    private String paramDetails;

}